﻿using System;
using System.Net;
using System.Xml.Linq;

namespace ArmoryBrowser.Entities
{
    public abstract class BaseStat
    {
        #region Fields
        private string _baseField;
        private string _effectiveField;
        #endregion
        #region Properties
        public string @Base
        {
            get
            {
                return this._baseField;
            }
            set
            {
                this._baseField = value;
            }
        }

        public string Effective
        {
            get
            {
                return this._effectiveField;
            }
            set
            {
                this._effectiveField = value;
            }
        }
        #endregion
        #region Constructor
        public BaseStat(XElement element)
        {
            @Base = element.GetAttributeValue("base");
            Effective = element.GetAttributeValue("effective");
        }
        #endregion
    }
}
